#pragma once

#include "DLL.h"

namespace My {

class Sequence;
class SegmentSet;

class DLL_API SegmentSetCmdImpl : public CCmdTarget
{
	DECLARE_MESSAGE_MAP()
public:
	virtual Sequence * GetSequence() = 0;
	virtual SegmentSet * GetSegmentSet() = 0;
public:
	afx_msg void OnTimeToSegmentBackEnd();
	afx_msg void OnUpdateTimeToSegmentBackEnd(CCmdUI* pCmdUI);
	afx_msg void OnTimeToSegmentFrontEnd();
	afx_msg void OnUpdateTimeToSegmentFrontEnd(CCmdUI* pCmdUI);

	afx_msg void OnSegmentActivateAbove();
	afx_msg void OnUpdateSegmentActivateAbove(CCmdUI *pCmdUI);
	afx_msg void OnSegmentActivateBelow();
	afx_msg void OnUpdateSegmentActivateBelow(CCmdUI *pCmdUI);
	afx_msg void OnSegmentDeactivate();
	afx_msg void OnUpdateSegmentDeactivate(CCmdUI *pCmdUI);

	afx_msg void OnOpenMaskEditor();
	afx_msg void OnUpdateOpenMaskEditor(CCmdUI *pCmdUI);
	afx_msg void OnCloseMaskEditor();
	afx_msg void OnUpdateCloseMaskEditor(CCmdUI *pCmdUI);
};

} //namespace My
